package serviceImpl;

import java.util.ArrayList;
import java.util.List;

import dao.ExperienceDAO;
import model.Experience;
import service.ExperienceService;

public class ExperienceServiceImpl implements ExperienceService {
	
	private ExperienceDAO expDAO;

	@Override
	public List<Experience> generatePopExperiences() {
		ArrayList<Experience> expList = (ArrayList<Experience>) expDAO.getAllExperiences();
		return expList;
	}

	@Override
	public Boolean saveExperience(Experience exp) {
		
		// TODO Auto-generated method stub
		return expDAO.saveExperience(exp);
	}

}
